<template>
    <div>
      <Scrolltop></Scrolltop>

      <!--头部-->
      <div class="top">
        <img @click="goback()" src="../../../static/bmqd/BMQD-1.png" alt="">
        <p>{{title}}</p>
        <img src="../../../static/bmqd/fenxiang.png" alt="">
      </div>
      <img class="top-img" src="../../../static/remai/remai1.png" alt="">
      <p class="top-p">{{title1}}</p>

      <!--内容区-->
      <div class="content" v-for="i in arr">
        <!--内容区上部分-->
        <div class="con-wrap-t">
          <div class="con-top">
            <div class="con-top-l">
              <img :src="i.url" alt="">
            </div>
            <div class="con-top-r">
              <h3>{{i.tit}}</h3>
              <p>{{i.tit1}}</p>
            </div>
          </div>
        </div>

        <!--内容区下部分-->
        <div class="con-wrap-b">
          <div class="goods-info">
            <div class="goods-list" v-for="item in i.arr1">
              <div class="info-top">
                <img :src="item.url1" alt="">
              </div>
              <div class="info-bot">
                <h3>{{item.tit2}}</h3>
                <span>{{item.tit3}}</span>
                <button class="btn1" @click="buy()">立即购买</button>
              </div>
            </div>

          </div>
        </div>
      </div>

    </div>
</template>

<script>
  import Scrolltop from './Scrolltop'
    export default {
        name: "Remai",
      data(){
          return{
            title:'健康美味兼得的布尔本',
            title1:'日本著名糕点品牌Bourbon布尔本，成立于1924年， 是日本零食十强之一。制作的曲奇和糕点系列，品质 远胜于欧洲传统西点，做工研究、精致、高贵、时尚、 健康是Bourbon一贯的严谨作风，其北日本系列礼盒 更是夺得了销售冠军，相当受欢迎。',
            arr:[
              {url:require('../../../static/remai/remai2.png'),tit:'最受欢迎曲奇礼盒系列',tit1:'日本本土国内受欢迎的曲奇点心，浓浓的牛油味，饼干的酥脆和可可牛奶的美妙结合，咬下去，满满幸福感。礼盒装有三种不同口味，一盒里约54枚 , 布尔本家产品，礼盒包装无论是送人还是留 着自己下午茶，都非常合适。',
                arr1:[
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'}
                ]
              },
              {url:require('../../../static/remai/remai2.png'),tit:'最受欢迎曲奇礼盒系列',tit1:'日本本土国内受欢迎的曲奇点心，浓浓的牛油味，饼干的酥脆和可可牛奶的美妙结合，咬下去，满满幸福感。礼盒装有三种不同口味，一盒里约54枚 , 布尔本家产品，礼盒包装无论是送人还是留 着自己下午茶，都非常合适。',
                arr1:[
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'},
                  {url1:require('../../../static/remai/remai3.png'),tit2:'BOURBON布尔本hello kitty 黄油曲奇礼盒54枚',tit3:'￥12.90'}
                ]
              },
            ]
          }
      },
      components:{
        Scrolltop
      },
      methods:{
        goback(){
          window.history.go(-1);
        }
      }
    }
</script>

<style scoped>
  .top{
    width: 69rem;
    height: 3rem;
    line-height: 3rem;
    padding: 3.5rem 1.5rem;
    background: #e53e42;
    display: flex;
    justify-content: space-between;
  }
  .top p{
    font-size: 3.6rem;
    color: #fff;
  }
  .top img{
    width: 3rem;
    height: 3rem;
  }

  .top-img{
    width: 72rem;
    height: 40rem;
    vertical-align: bottom;
  }
  .top-p{
    width: 68rem;
    padding: 3rem 2rem;
    background: #ffcd2c;
    font-size: 2.8rem;
    color: #4d4d4d;
    margin-bottom: 2rem;
  }



  .content{
    width: 72rem;
  }
  .con-wrap-t{
    width: 68rem;
    height: 40rem;
    padding: 2rem;
    background: #fdf3f1;
  }
  .con-top{
    width: 65rem;
    height: 36rem;
    padding: 2rem 1rem 2rem 2rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
  }
  .con-top-l{
    width: 22rem;
    height: 100%;
  }
  .con-top-l img{
    width: 100%;
    height: 100%;
  }
  .con-top-r{
    width: 41rem;
    height: 100%;
  }
  .con-top-r h3{
    font-size: 3rem;
    color: #4e1f1d;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  .con-top-r p{
    font-size: 2.4rem;
    color: #4d4d4d;
  }



  .con-wrap-b{
    width: 68rem;
    background: #f2f2f2;
    padding: 1rem 2rem;
  }

  .goods-info{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .goods-list{
    width: 33rem;
    height: 44rem;
    border: 1px solid #cccccc;
    background: #fff;
    margin-bottom: 2rem;
  }
  .info-top{
    width: 16rem;
    height: 16rem;
    padding:5rem 9rem;
    border-bottom: 1px solid #cccccc;
  }
  .info-top img{
    width: 16rem;
    height: 16rem;
  }
  .info-bot{
    padding: 1rem 2rem 1rem;
    text-align: center;
  }
  .info-bot h3{
    font-size: 2.2rem;
    color: #4d4d4d;
    margin-top: 1rem;
    text-align: left;
  }
  .info-bot span{
    display: block;
    color: #e53e42;
    font-size: 2.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .info-bot .btn1 {
    width: 22rem;
    height: 3.5rem;
    border-radius: 1.5rem;
    background:#e53e42;
    color: #fff;
    font-size: 2.4rem;
  }
</style>
